package main.resources.controller.command.chat;

import main.resources.controller.command.Command;
import main.resources.controller.dao.moodle.MdlChatDao;
import main.resources.exceptions.DaoException;
import main.resources.model.entity.moodle.MdlChat;

public class ChatEditCommand implements Command {
	
	private MdlChat chat;
	
	public ChatEditCommand(MdlChat chat) {
		this.chat = chat;
	}

	@Override
	public void execute() throws DaoException {
		MdlChatDao.getInstance().edit(chat);		
	}

}
